﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TemplateMethodPattern
{
    /// <summary>
    /// 银行客户端  保密账户
    /// </summary>
    public class ClientSecret : Client
    {
        public override double GetInterest(double amount)
        {
            return amount * 0.025;
        }

        public override bool IsSecret(int userId)
        {
            return true;
        }
    }
}
